﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Web.Mvc
{
    /// <summary>
    /// 分页按钮Label实体类
    /// </summary>
    public sealed class PageButtonLabel
    {
        /// <summary>
        /// 首页按钮Label
        /// </summary>
        public string First { get; set; }

        /// <summary>
        /// 上一页按钮Label
        /// </summary>
        public string Previous { get; set; }

        /// <summary>
        /// 下一页按钮Label
        /// </summary>
        public string Next { get; set; }

        /// <summary>
        /// 尾页按钮Label
        /// </summary>
        public string Last { get; set; }

        /// <summary>
        /// “更多”按钮Label
        /// </summary>
        public string More { get; set; }

        /// <summary>
        /// 默认Label
        /// </summary>
        public static PageButtonLabel Default
        {
            get
            {
                return new PageButtonLabel()
                {
                    First = "first",
                    Previous = "previous",
                    Next = "next",
                    Last = "last",
                    More = "more"
                };
            }
        }
    }
}
